package com.dhecp.project.api.domain;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName ABB API返回对象
 * @Description TODO
 * @Author alula
 * @Date 2020-04-09 20:30
 */
public class ApiResponse implements Serializable {

    private static final long serialVersionUID = 1L;

    private  boolean success = false;
    private int code;
    private String message = "";
    private String msg = "";
    private List<?> data;
    private long count;
    private Object extendAttr;

    public boolean getSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<?> getData() {
        return data;
    }

    public void setData(List<?> data) {
        this.data = data;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public Object getExtendAttr() {
        return extendAttr;
    }

    public void setExtendAttr(Object extendAttr) {
        this.extendAttr = extendAttr;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
